//
//




#pragma mark -  * * * * * * * * * * * * * * 域名切换 * * * * * * * * * * * * * *

#define ENVIRONMENT 0

#if ENVIRONMENT == 0


#elif ENVIRONMENT ==1

/**
 *  域名
 *
 *  @param 测试环境
 *
 */
#define YGBaseURL @"http://"


#elif ENVIRONMENT ==2

/**
 *  域名
 *
 *  @param 正式环境
 *
 */
#define YGBaseURL @"http://"


#endif /* HTTPURLDefine_h */

#pragma mark -*********************其他的************
//图片前缀
#define ImageBaseURL @"http://zuche.m0571.com"

#pragma mark -  * * * * * * * * * * * * * * 首页 URL * * * * * * * * * * * * * *





#pragma mark -  * * * * * * * * * * * * * * User URL * * * * * * * * * * * * * *

/**
 *  域名
 *
 *  @param 开发环境
 *
 */
//域名和接口
#define HOST  @"http://bs.m0571.com/mobileapi/public/baishi/?service="
#define POST(_url_)           [NSString stringWithFormat:@"%@%@", HOST,_url_]



//拼接签名
#define KQianMingStr(Name1,Name2,Name3) [NSString stringWithFormat:@"signature=%@&timestamp=%@&nonce=%@",Name1,Name2,Name3]

#define FileURL                   @"Extend_Upload.Upload"//18上传图片文件

#define FileURL @"Extend_Upload.Upload"




//文件上传1
//超市端配送地址服务类8
//购物车接口服务类7
//分类接口服务类1
//商品详情接口服务类2
//店铺接口服务类2
//首页接口服务类5
//登录接口服务类4
//店铺接口服务类4
//用户接口服务类1
//订单接口服务类2
//订单列表接口服务类5
// 个人中心接口服务类9-1

// 商品详情接口服务类2 购物车1
//1登录接口
#define Shop_LoginUrl @"Shop_Login.Dologin"
//2注册接口
#define Shop_RegisterUrl @"Shop_Login.Register"//不好用
//3获取验证码
#define Shop_GetSmsCodeUrl @"Shop_Login.GetSmsCode"
//4找回密码
#define Shop_RetrievalPass @"Shop_Login.RetrievalPass"
//5超市端配送地址添加
#define Shop_AddShopAddress @"Shop_Address.AddShopAddress"
//6删除配送地址
#define Shop_DelDefaultAddress @"Shop_Address.DelDefaultAddress"
//7改变默认配送地址
#define Shop_EditDefaultAddress @"Shop_Address.EditDefaultAddress"
//首页轮播图
#define Shop_GetBanner @"Shop_Home.GetBanner"


//8超市认证
#define  ChaoShiRenzheng   @"Shop_User.Authenticat"
//9检测是否有默认地址
#define IsDefaultAddress        @"Shop_Address.IsDefaultAddress"


//10获取超市端默认配送地址
#define GetDefaultAddress        @"Shop_Address.GetDefaultAddress"
//11获取 全部 配送地址信息
#define GetAllAddress        @"Shop_Address.GetAllAddress"
//12获取 获取配送地址信息
#define GetAddress        @"Shop_Address.GetAddress"
//13改变默认配送地址
#define EditDefaultAddress        @"Shop_Address.EditDefaultAddress"//重1
//14修改配送地址信息
//#define EditAddress        @"Shop_Address.EditAddress"//重复2
//15删除配送地址
#define DelDefaultAddress        @"Shop_Address.DelDefaultAddress"//重4
//16超市端配送地址添加
#define AddShopAddress        @"Shop_Address.AddShopAddress"//重复3
//17超市端配送地址修改
#define Shop_EditAddress @"Shop_Address.EditAddress"


//19 首页分类Shop_Home.GetHomeCategory
#define Shop_GetCategory @"Shop_Home.GetHomeCategory"

// 20 获取分类列表
#define Shop_GetCategoryList @"Shop_Category.GetCategoryList"


//21 限时秒杀
#define Shop_HomeGetHomePromotion @"Shop_Home.GetHomePromotion"
//22热门商铺
#define Shop_HomeGetHomeHotMemberShop @"Shop_Home.GetHomeHotMemberShop"
//23附近的批发商

#define Shop_HomeGetHomeNearbyShop @"Shop_Home.GetHomeNearbyShop"
//24  商店中的商品分类
#define Shop_MemberGetShopCategory @"Shop_Member.GetShopCategory"
//25 获取店铺信息
#define Shop_MemberGetShopDetail @"Shop_Member.GetShopDetail"

//26 获取店铺商品
#define Shop_MemberGetShopGoods @"Shop_Member.GetShopGoods"

//27  商店中的商品分类
#define Shop_MemberGetShopCategory @"Shop_Member.GetShopCategory" //重5
//28获取店铺详情页面
#define Shop_GetShopInfo @"Shop_Member.GetShopInfo"
//29 获取筛选数据
#define Shop_GetScreen @"Shop_Goodslist.GetScreen"
// 30 获取商品列表
#define Shop_GetGoodslist @"Shop_Goodslist.GetGoodslist"



// 31 获取商品详情
#define Shop_GoodsDetailGetGoodsDetail @"Shop_GoodsDetail.GetGoodsDetail"




// 32 商品的收藏与取消
#define Shop_GoodsDetailEditGoodsFavorite @"Shop_GoodsDetail.EditGoodsFavorite"


// 33 购物车列表
#define Shop_CartGetCartList @"Shop_Cart.GetCartList"

//34 加入购物车
#define Shop_CartAddCart @"Shop_Cart.AddCart"



//35 购物车替换规格
#define Shop_CartGetGoodsSku @"Shop_Cart.GetGoodsSku"


//36 修改购物车单个物品的数量
#define Shop_CartUpdateCartNum @"Shop_Cart.UpdateCartNum"

//37 选择删除购物车商品
#define Shop_CartDeletedCart  @"Shop_Cart.DeletedCart"


//38 清空购物车 (没有用到，用的是删除购物车的接口)
#define Shop_CartClearCart  @"Shop_Cart.ClearCart"

//40 	确认订单接口
#define Shop_OrderConfirm @"Shop_Order.OrderConfirm"
//41 提交订单接口
#define Shop_OrderCommit @"Shop_Order.OrderCommit"

//39 修改购物车商品规格
#define Shop_CartUpdateCartSku @"Shop_Cart.UpdateCartSku"

// 获取订单列表
#define Shop_GetOrderList @"Shop_OrderList.GetOrderList"

//获取订单详情
#define Shop_GetOrderDetail @"Shop_OrderList.GetOrderDetail"

// 取消订单
#define Shop_OrderCancel @"Shop_OrderList.OrderCancel"

//订单退款
#define Shop_OrderListOrderRefund @"Shop_OrderList.OrderRefund"

//退换货列表数据
#define Shop_OrderListGetApplyRefund @"Shop_OrderList.GetApplyRefund"


//添加银行卡
#define Shop_PersonalAddBankCard @"Shop_Personal.AddBankCard"


//设置找回支付密码
#define Shop_SetPayPassword @"Shop_Personal.SetPayPassword"
// 修改密码
#define Shop_ModifyPassword @"Shop_Personal.ModifyPassword"
//修改个人头像
#define Shop_PersonalModifyHeadimgurl @"Shop_Personal.ModifyHeadimgurl"

//修改个人昵称
#define Shop_PersonalModifyNickname @"Shop_Personal.ModifyNickname"


//查询个人信息
#define Shop_PersonalGetPersonal  @"Shop_Personal.GetPersonal"

//获取银行卡列表
#define Shop_PersonalGetBankCardList @"Shop_Personal.GetBankCardList"



//银行卡解绑
#define Shop_PersonalRelieveBankCard  @"Shop_Personal.RelieveBankCard"


//订单支付
#define Pay_NotifyText  @"Pay_Notify.Text"


//删除订单
#define Shop_OrderListOrderDel  @"Shop_OrderList.OrderDel"

//订单评价
#define Shop_OrderListSubComment @"Shop_OrderList.SubComment"


//店铺的关注与取消
#define Shop_MemberEditShopFavorite @"Shop_Member.EditShopFavorite"



// 设置通知
#define Shop_PersonalEditIsNotice @"Shop_Personal.EditIsNotice"

//关于我们
#define Shop_PersonalGetAboutUs @"Shop_Personal.GetAboutUs"


//获取我的收藏－－ 商品
#define Shop_PersonalGetGoodsFavorite @"Shop_Personal.GetGoodsFavorite"

//获取我的收藏－－ 批发商店
#define Shop_PersonalGetShopFavorite @"Shop_Personal.GetShopFavorite"


//获取账户余额
#define Shop_PersonalGetUserBalance @"Shop_Personal.GetUserBalance"


//获取支付方式
#define Pay_PayGetPayment @"Pay_Pay.GetPayment"



//在线充值
#define Shop_PersonalOnline_recharge_save @"Shop_Personal.Online_recharge_save"

//余额提现
#define Shop_PersonalWithdraw @"Shop_Personal.Withdraw"


//获取热门搜索
#define Shop_HomeGetHotSearch @"Shop_Home.GetHotSearch"



//获取限时秒杀数据
#define Shop_GroupbuyGetGroupbuyGoodsList @"Shop_Groupbuy.GetGroupbuyGoodsList"

//获取满减上铺
#define Shop_PromotionGetPromotionShop @"Shop_Promotion.GetPromotionShop"



//获取消费明细
#define Shop_PersonalGetAccountLog @"Shop_Personal.GetAccountLog"


//获取商品评价列表
#define Shop_GoodsDetailGetGoodsComment @"Shop_GoodsDetail.GetGoodsComment"



